﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using System.Data;

namespace DAO
{
    public class CTThucDonDB
    {
        DataProvider dp = new DataProvider();
        DataTable dt = new DataTable();
        public void ThemCTThucDon(CTThucDon dto)
        {
            string sql = "insert into CTThucDon(MaDV,MaTuan,Thu,NgayApDung,SoPhanBan) values (" + dto.MaDV + "," + dto.MaTuan + ",'" + dto.Thu + "','" + dto.NgayApDung + "'," + dto.SoPhanBan + ")";
            dp.ExecuteNonQuery(sql);
        }
    }
}
